﻿using ExcelParser;
using System;

namespace TestConsole
{
    class Program
    {
        static void Main(string[] args)
        {
            ConfigParser.Logger += Console.WriteLine;
            ConfigParser.ErrorLogger += Console.WriteLine;

            string configDirectory = Environment.CurrentDirectory + "/../../..";
            string outputDll = Environment.CurrentDirectory + "/../../../Configs/config.dll";
            string serializeDirectory = Environment.CurrentDirectory + "/../../../Configs";
            string unityEngineDllPath = Environment.CurrentDirectory + "/../../../ExcelParser/Library/UnityEngine.dll";
            new ConfigParser().StartParse(configDirectory, outputDll, serializeDirectory, unityEngineDllPath);

            Console.Read();
        }
    }
}
